/**
 * @file ShellContext.java
 * Projet eCOM 2010 (Miage Descartes)
 * @author Doido Sébastien
 * @version 2
 * @brief Shell : Interface des opérations de manipulation du contexte du shell
 */
package ecom.shell;

import java.util.Set;

public interface ShellContext {

    public ShellCommand[] getCommands();

    public ShellCommand[] getCommandsHelp();

    public Object getVar(String key);

    public Object unsetVar(String key);

    public Set getVarNames();

    public void setVar(String key, Object value);

    public String returnCode(String msg, ShellConstantes.RESULT_ACTION result);
}
